package 类和对象课堂练习.封装;

public class Zuoye032811 extends Zuoye03281{
    String texing;
    public Zuoye032811(String na, int ag, int ji, String se,String te){
        super(na,ag,ji,se);
        texing=te;
    }
    public void print(){
        System.out.println(name+"是一名java老师，带同学们"+texing+"，用idea上课");
        super.print();
    }

}
